- content_for :meta do
  %meta{:name => "Description", :content => "Here's a listing of Jetty Rae's shows, gigs, and bookings"}
  %meta{:name => "Abstract", :content => "Jetty Rae's Shows, Gigs, and Bookings"}
  %meta{:name => "Keywords", :content => "shows, gigs, bookings, jetty rae, music, indie, folk, acoustic"}
- content_for :title do
  = "- shows, gigs and bookings"
- content_for :page_description do
  %p If you're looking for information on Jetty Rae's shows, gigs, and bookings, you've come to the right place.
%div.heading
  %img.heading{:src => "/images/headings/sections/my_shows.jpg", :title => "My Shows", :alt => "My Shows"}
%table.shows
  %tr
    %td.seperator{:colspan => 4}
      %table.filter_shows
        %tr
          %td.past
            %a{:href => (shows_url + "?display=previous")}past
          %td.upcoming
            %a{:href => (shows_url + "?display=upcoming")}upcoming
          %td.all
            %a{:href => shows_url}all
  - @shows.each do |show|
    %tr{:style => "background-color: #{cycle("#ffffff", "#bffbad")}"}
      %td.date
        = show.start_time.strftime("%B %o")
      %td.time
        = show.start_time.strftime("%I:%M %p")
      %td.location
        %a{:href => show_url(show)}= show.location
      %td.geographic_location
        = show.city + ", " + show.state
%div.pagination
  = will_paginate @shows
- if logged_in? && current_user.is_admin?
  %div.add_new
    %a{:href => new_show_url, :title => "Add a new show to the website", :alt => "Add a new show to the website"}
      %img{:src => "/images/up_arrow.jpg", :title => "Add a new show", :alt => "Add a new show"}
      Add a new show
